/* waiting动画效果 */
.dw-waiting {
  padding-right: 25px;
}
.dw-waiting::after {
  content: "";
  width: 2px;
  height: 2px;
  display: inline-block;
  animation-name: waiting;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}
@keyframes waiting {
  from {
    box-shadow: none;
  }
  30% {
    box-shadow: 2px 0 0 currentColor;
  }
  60% {
    box-shadow: 2px 0 0 currentColor, 6px 0 0 currentColor;
  }
  90% {
    box-shadow: 2px 0 0 currentColor, 6px 0 0 currentColor, 10px 0 0 currentColor;
  }
}
/* loading动画效果 不会纯css写loading 所以用到一张loading图片 */
.dw-loading::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 5px;
  background-image: url("loading.png");
  background-size: 10px 10px;
  display: inline-block;
  left: -10px;
  animation: loading 1s linear infinite;
}
@media screen and (max-width: 768px) {
  .dw-loading::before {
    width: 8px;
    height: 8px;
  }
}
@keyframes loading {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(1turn);
  }
}
/* disabled禁用状态下 目前只是设了虚化 */
.dw-disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
